import { Component, OnInit } from '@angular/core';
import {StorageService} from "../../services/storage.service";
import {EventbusService} from "../../services/eventbus.service";

@Component({
  selector: 'app-p401',
  templateUrl: './p401.component.html',
  styleUrls: ['./p401.component.css']
})
export class P401Component implements OnInit {

  constructor(private storage:StorageService,
    private eventbus:EventbusService) {

  }

  ngOnInit(): void {
    this.storage.clear()
    this.eventbus.publish("LOG_OUT")
  }

}
